package a.f;

import a.c.ab;
import a.c.bb;
import a.c.*;
import a.c.w;

public class jb
  extends r
{
  Object g = rc.c;
  ab h = new ab();
  bb i = new bb();
  public static boolean j;
  
  public jb(rc paramrc)
  {
    this();
    a(paramrc);
  }
  
  public jb() {}
  
  public Object b()
  {
    return this.g;
  }
  
  public void a(Object paramObject)
  {
    if (paramObject == null) {
      throw new IllegalArgumentException("null");
    }
    this.g = paramObject;
  }
  
  public void doLayout(o paramo)
  {
    if (!o.eg)
    {
      if (a() != null)
      {
        a(paramo);
        a(paramo);
      }
    }
    else {
      b(paramo);
    }
  }
  
  public boolean canLayout(o paramo)
  {
    if (!o.eg)
    {
      if (a() != null) {
        a(paramo);
      }
    }
    else
    {
      boolean bool = a().canLayout(paramo);
      b(paramo);
      return bool;
    }
    return true;
  }
  
  private void a(q paramq)
  {
    boolean bool = o.eg;
    int k = o.dg;
    k localk = paramq.c(b());
    if (localk != null)
    {
      Object localObject = paramq.w();
      do
      {
        if (!((m)localObject).e()) {
          break;
        }
        d locald = ((m)localObject).a();
        if ((!bool) && (k != 0)) {
          return;
        }
        if ((bool) || (localk.getBool(locald.e())))
        {
          if (bool) {
            continue;
          }
          if (localk.getBool(locald.f())) {}
        }
        else
        {
          this.h.c(locald);
          paramq.f(locald);
        }
        ((m)localObject).f();
      } while (k == 0);
      if (!bool)
      {
        localObject = paramq.v();
        do
        {
          if (!((w)localObject).e()) {
            break;
          }
          if (!bool)
          {
            if (!localk.getBool(((w)localObject).d()))
            {
              this.i.c(((w)localObject).d());
              paramq.d(((w)localObject).d());
            }
            ((w)localObject).f();
          }
        } while (k == 0);
      }
    }
  }
  
  private void b(q paramq)
  {
    boolean bool = o.eg;
    int k = o.dg;
    label15:
    do
    {
      if (this.i.isEmpty()) {
        break;
      }
      break;
      paramq.e(this.i.o());
      if ((!bool) && (k != 0)) {
        break label70;
      }
    } while (k == 0);
    label66:
    label70:
    while (bool)
    {
      break label66;
      if (bool) {
        break label15;
      }
      if (!this.h.isEmpty())
      {
        paramq.g(this.h.o());
        if (k == 0) {
          break;
        }
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.jb

 * JD-Core Version:    0.7.0.1

 */